<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=charset=utf-8">
    <title>fragment</title>
</head>
<body>
<div th:fragment="head">
    我是头<br/>
</div>
<div th:fragment="copy" >
    关于我们<br/>
</div>
<div th:fragment="hello">
    hello
</div>
</body>